<?php
/**
 * Console application config
 *
 * @category  Yii Template
 * @author    Dmitry Konovalchuk <konovalchuk@ebola.com.ua>
 * @copyright 2013 Ebola Communications
 * @link      http://www.ebola.com.ua/
 */
$dir     = dirname(__FILE__);
$main    = require($dir . '/main.php');
$cmsFile = realpath($dir . '/console_cms.php');
$cms     = (USE_YIIHOO_CMS && is_file($cmsFile)) ? require($cmsFile) : array();

$config = array(
    'name'           => $main['name'],
    'basePath'       => $main['basePath'],
    'language'       => $main['language'],
    'sourceLanguage' => $main['sourceLanguage'],
    'aliases'        => $main['aliases'],
    'import'         => $main['import'],
    'components'     => $main['components'],
    'modules'        => $main['modules'],
);

return CMap::mergeArray($config, $cms);
